# 应用ID
APP_ID = "2016101800714421"

# 是否是沙箱环境
DEBUG = True

# 签名算法 RSA or RSA2
SIGN = 'RSA2'


# 网关
if DEBUG:
    GATEWAY = 'https://openapi.alipaydev.com/gateway.do?'
else:
    GATEWAY = 'https://openapi.alipay.com/gateway.do?'


# 应用私钥
app_private_key_string = """-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAzDcEToyvvSELie4tvNzp2cppgn/Q9s6kdzut1PQc3z0k0Dg3ihPYy/l7he+Tm0IT1aJYtqGfoVKrIJKukNCZyJPaI6rHvBORgPOkPFj4R+Ykgi9gO2LieaNQimlja9rZzfMwvA/K/rO8CpplVEPR2yOvc0TMdIzYtvL00Ay77cXLSVzNV4NErJiZShjItarKIJS881HWu9iWTyi2qSw2QyD1cIvXXrQXzDsujJhEQPZ+TTtrZtSDP8BFf7sGNvmtgudr1YKDavVotMN1LLQVrf9sN0/e0CcQrnq08pxxJ4CH9TZnSf/OcoyJWuigd+Y3vVTMgxzI6Nw4rSsfdO9w1wIDAQABAoIBAAHjaFjJmD5pdc/asfWTHV50LrGUOPxvQLoRhTP45eNyj0qVmn3eXRzVu7yrUHQZElHhZGyb5fv55bcxZAfWxfVC2LuHsr0ceTX2Csi8Ed+oUyIZCgzCh1GUnwQIoXC331e2LfcvNjNQuiZm8xTqY6BhHhg0xKc3PjHC4VyjIYG7VDwsEawof7pb2zknIhFRohgGC394ee4I4LmNoLPihiwGpnRLOfW7Gxcc8CwhgePyd5bX330vrLemYP6f/LEJz0o1En3HJnWBSRyQfonbpv5xnruqRwWD8zEBGAHiGzpIN9tB7HmrtELTEpMMFxo7dEe5ur6TOkR4aG1PDaAqjGECgYEA/Dry+8LsudDcKG5OLhhj55Kdu/HbTDM3tSiNwVE+1gI4pF2mjn2Fk3H0gXoRHjM54UgDH6RIKTLomb0hPg3OQihe2RaYISm6EiT+GxCszdaWwUQ0zABiS3VnDq0O936L6SyPEjrI9XWKXoOMwUmeq7slGjncfrBmSGHi7KWfU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Vsla4RNVdh8cicGeKwLkQ1rB+WUdGNLBZlHLa4JIz3vBL5mYtr/Qe/PBefaDh8/p0qZWWwIDAQAB
-----END PUBLIC KEY-----"""




